package com.wowo.aop.calc;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("calc/calc2.xml");
        Calc calc = applicationContext.getBean(Calc.class);
        //calc.add(1,2);
        calc.sub(4,1);
    }
}
